package com.tuangou.tuangouheader.header.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author zjb
 * @email zjb@tuangou.com
 * @date 2021-06-17 21:27:33
 */
@Data
@TableName("tb_order")
public class OrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 订单编号
	 */
	@TableId
	private String orderId;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 团长id
	 */
	private Integer tzId;
	/**
	 * 团长姓名
	 */
	private String tzName;
	/**
	 * 团长所在小区
	 */
	private String tzCity;
	/**
	 * 团购记录id
	 */
	private Integer groupId;
	/**
	 * 团购商品名称
	 */
	private String groupName;
	/**
	 * 团购商品价格
	 */
	private BigDecimal groupPrice;
	/**
	 * 购买数量
	 */
	private Integer number;
	/**
	 * 商品总价
	 */
	private BigDecimal totalMoney;
	/**
	 * 买家id
	 */
	private Integer userId;
	/**
	 * 送货方式
	 */
	private Integer shopType;
	/**
	 * 状态
	 */
	private Integer status;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getTzId() {
		return tzId;
	}

	public void setTzId(Integer tzId) {
		this.tzId = tzId;
	}

	public String getTzName() {
		return tzName;
	}

	public void setTzName(String tzName) {
		this.tzName = tzName;
	}

	public String getTzCity() {
		return tzCity;
	}

	public void setTzCity(String tzCity) {
		this.tzCity = tzCity;
	}

	public Integer getGroupId() {
		return groupId;
	}

	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public BigDecimal getGroupPrice() {
		return groupPrice;
	}

	public void setGroupPrice(BigDecimal groupPrice) {
		this.groupPrice = groupPrice;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public BigDecimal getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(BigDecimal totalMoney) {
		this.totalMoney = totalMoney;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getShopType() {
		return shopType;
	}

	public void setShopType(Integer shopType) {
		this.shopType = shopType;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
